home *** CD-ROM | disk | FTP | other *** search
/ HamCall (April 1991) / HAMCALL CD-ROM (Buckmaster)(April 1991).BIN / util / encrypt / demo.bat < prev    next >
DOS Batch File  |  1990-10-14  |  2KB  |  75 lines

  1. ECHO OFF
  2. CLS
  3. ECHO IRIS Demonstration
  4. ECHO ------------------
  5. ECHO.
  6. ECHO IRIS provides the MS-DOS user with access to commercial cryptographic
  7. ECHO techniques such as high-speed DES encryption for securing large amounts
  8. ECHO of data, the elegant RSA public key system, which has special properties
  9. ECHO which lend it to the task of distributing keys in a large network, and
  10. ECHO CRC calculation, useful for authentication.
  11. ECHO. 
  12. PAUSE
  13. CLS
  14. ECHO IRIS file Encryption and Decryption
  15. ECHO -----------------------------------
  16. ECHO.
  17. ECHO Encryption is performed by applying a particular encryption 'ALGORITHM'
  18. ECHO and a user selected 'KEY' to the MS-DOS file which is to be secured.
  19. ECHO This process results in the MS-DOS file being completely unusable
  20. ECHO by anyone who does not have knowledge of the KEY employed.
  21. ECHO.
  22. ECHO Decryption is essentially the reverse of the above, and results in the
  23. ECHO MS-DOS file being usable again.
  24. ECHO.
  25. ECHO Keys may be entered from the command line or may be stored in 'KEYFILES'. 
  26. ECHO.
  27. PAUSE
  28. CLS
  29. ECHO To demonstrate the above, we will encrypt the following file:
  30. ECHO.
  31. TYPE ozy.txt
  32. ECHO.
  33. PAUSE
  34. CLS
  35. ECHO Now we will ENCRYPT the file ...
  36. ECHO.
  37. iris cipher /function=encrypt /plain=ozy.txt /keyv=1c-23-ea-f7-91-8f-91-d5
  38. ECHO.
  39. PAUSE
  40. CLS
  41. ECHO The MS-DOS file is now encrypted and looks like this:
  42. ECHO.
  43. ECHO -------------------------------------------------------------------------
  44. TYPE ozy.txt
  45. ECHO.
  46. ECHO -------------------------------------------------------------------------
  47. ECHO.
  48. PAUSE
  49. CLS
  50. ECHO Now we will DECRYPT the file ...
  51. ECHO.
  52. iris cipher /function=decrypt /cipher=ozy.txt /keyv=1c-23-ea-f7-91-8f-91-d5
  53. ECHO.
  54. PAUSE
  55. CLS
  56. ECHO The (encrypted) MS-DOS file has been decrypted:
  57. ECHO.
  58. TYPE ozy.txt
  59. ECHO.
  60. PAUSE
  61. CLS
  62. ECHO There are many options available from the file encryption module
  63. ECHO including various algorithms: RSA, DES etc, Keyboard entry of DES
  64. ECHO keys, Binary and ASCII mode, echoing of plaintext or ciphertext
  65. ECHO etc. The shortest form of the encrypt/decrypt command is:
  66. ECHO.
  67. ECHO IRIS CIPHER /FUNCTION=ENCRYPT /PLAIN=filename  /KEYVALUE=keyphrase
  68. ECHO IRIS CIPHER /FUNCTION=DECRYPT /CIPHER=filename /KEYVALUE=keyphrase
  69. ECHO.
  70. ECHO Be sure to remember the key value used, there is no way back without it !
  71. ECHO.
  72. ECHO                ---- Demonstration complete ----
  73.  
  74.  
  75.